package com.dcy.znoa.domain.sys;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 附件存储表
 * @author chenjie
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_store_file")
public class StoreFile {

	public static final String ENTITY_MSG = "message";

	@TableId(type = IdType.AUTO, value = "file_id")
    Long fileId;
	
	@TableField("file_name")
	private String fileName;

	@TableField("remote_file_name")
	private String remoteFileName;

	@TableField("download_path")
	private String downloadPath;

	@TableField("filename_extension")
	private String filenameExtension;

	@TableField("create_oper_id")
	private Long createOperId;

	@TableField("create_time")
	private Date createTime;

	@TableField("valid_flag")
	private Integer validFlag;

	@TableField("entity_tbl")
	private String entityTbl;

	@TableField("entity_id")
	private Long entityId;

	@TableField("file_function")
	private String fileFunction;

}
